Skip to content

Conversation

@yug49
Copy link

@yug49 yug49 commented Dec 3, 2025

Closes #129

This PR adds a Python script that validates all JSON and SSZ example pairs in the repository match byte-for-byte.

Changes

  • scripts/validate_examples.py - Validation script with full SSZ type definitions for all forks (Bellatrix → Fulu)
  • scripts/requirements.txt - Dependencies (remerkleable>=0.1.28)
  • .github/workflows/validate-examples.yaml - CI workflow to run validation on PRs

Usage

pip install -r scripts/requirements.txt
python scripts/validate_examples.py --verbose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A script to ensure JSON and SSZ examples match

1 participant